package com.aopTest;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author laijianbo 2014-7-4
 */
public class Test {

	/**
	 * @Description 方法实现功能描述
	 * @param args
	 *            void
	 * @throws 抛出异常说明
	 */
	public static void main(String[] args) {
		ApplicationContext act = new ClassPathXmlApplicationContext("applicationContext.xml");
		Print t = (Print) act.getBean("print");
		t.print("ding");
		System.out.println("-----------------");
		t.sleep("laoding");

	}
}
